#ifndef MY_UPDATE_THREAD_H
#define MY_UPDATE_THREAD_H

#include <QObject>
#include <QString>
#include <QByteArray>
#include <QDebug>
#include <QThread>

class My_update_thread : public QObject
{
    Q_OBJECT
public:
    explicit My_update_thread(QObject* parent = nullptr);

public slots:
    void slot_process(QString filepath);

signals:
    void signal_send_date(QByteArray date, int percent);
    void signal_erase_flash();
    void signal_update_successful();
};

#endif // MY_UPDATE_THREAD_H
